package com.feihao.zhou.service;

import com.feihao.zhou.domain.Account;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
public interface AccountService {
    void save(Account account);

    void delete(Integer id);

    void update(Account account);

    List<Account> findAll();

    Account findById(Integer id);

    void transfer(String outName,String inName,Double money);
}
